<?php

namespace Backoffice\Model\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Stats
 *
 * @ORM\Table(name="stats")
 * @ORM\Entity
 */
class Stats
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="chemin", type="string", length=30, nullable=true)
     */
    private $chemin;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="date_stats", type="date", nullable=true)
     */
    private $dateStats;

    /**
     * Constructor
     */
    public function __construct($id = null, $chemin = null, $dateStats = null)
    {
        $this->id = $id;
        $this->chemin = $chemin;
        $this->dateStats = $dateStats;
    }

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set chemin
     *
     * @param string $chemin
     * @return Stats
     */
    public function setChemin($chemin)
    {
        $this->chemin = $chemin;

        return $this;
    }

    /**
     * Get chemin
     *
     * @return string 
     */
    public function getChemin()
    {
        return $this->chemin;
    }

    /**
     * Set dateStats
     *
     * @param \DateTime $dateStats
     * @return Stats
     */
    public function setDateStats($dateStats)
    {
        $this->dateStats = $dateStats;

        return $this;
    }

    /**
     * Get dateStats
     *
     * @return \DateTime 
     */
    public function getDateStats()
    {
        return $this->dateStats;
    }
}
